package cn.pconline.autoclub.entity;

import java.util.Date;
import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;

/**
 *  论坛操作类
 */
@Entity(tableName = "ac_bbs_action_log", split="Date:createAt:m")
public class BbsActionLog {
    
    @Id
    @Column(name = "id")
    private long id;    //序列ID
    
    @Column(name = "log_id")
    private long logId;     //日志ID
    
    @Column(name = "user_id")
    private long userId;    //用户ID
    
    @Column(name = "forum_id")
    private long forumId;   //论坛版块ID
    
    @Column(name = "topic_id")
    private long topicId;   //帖子ID
    
    @Column(name = "type_id")
    private int typeId; //操作类型ID
    
    @Column(name = "content")
    private String content; //文本，扩展内容，JSON格式
    
    @Column(name = "create_at")
    private Date createAt;  //创建时间，与的保持一致

	public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getLogId() {
        return logId;
    }

    public void setLogId(long logId) {
        this.logId = logId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getForumId() {
        return forumId;
    }

    public void setForumId(long forumId) {
        this.forumId = forumId;
    }

    public long getTopicId() {
        return topicId;
    }

    public void setTopicId(long topicId) {
        this.topicId = topicId;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }
}
